<a href="javascript:;" fid="0" class="on" id="allTask">ALL</a>
<foreach item="floor" name="floors">
<a href="javascript:;" fid="{$floor.id}">{$floor.name}</a>
</foreach>